package net.sf.nlp.segment;

public class WordItem 
{
	private long handle;// 句柄，用来标识词的词性
	private long freq;// 频度，用来说明该词出现在语料库中的次数或概率
	
	public WordItem(long handle, long freq)
	{
		this.handle = handle;
		this.freq = freq;
	}
	
	public long getHandle() {
		return handle;
	}
	public void setHandle(long handle) {
		this.handle = handle;
	}
	public long getFreq() {
		return freq;
	}
	public void setFreq(long freq) {
		this.freq = freq;
	}
}
